package com.ems.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 菜单权限表
 * </p>
 * @author WuZH
 * @since 2023-10-24
 */
@Data
@ApiModel (value = "MenuEntity对象", description = "菜单权限表")
public class MenuVo extends BaseVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty ("id")
    private String id;

    @ApiModelProperty ("菜单名")
    private String menuName;

    @ApiModelProperty ("菜单请求url")
    private String url;

    @ApiModelProperty ("菜单前面图标")
    private String menuClass;

    @ApiModelProperty ("菜单与按钮")
    private Integer type;

    @ApiModelProperty ("菜单的排序")
    private Integer sort;

    @ApiModelProperty ("对于菜单的描述")
    private String note;

    @ApiModelProperty ("页面的按钮是二级菜单，它的父是左侧栏一级菜单")
    private String parentId;

    @ApiModelProperty ("菜单能够被哪些权限所点击，用在二级菜单")
    private String permission;

    private Date createTime;

    private Date changeTime;

    private Integer isUsed;

    private String roleId;

    private List<MenuVo> menuEntities;

}
